FORCE RIGHT

This command will use the current control device if it has force feedback capability.

  Syntax
FORCE RIGHT Magnitude Value
  Parameters
Magnitude Value
Integer
The command will force the device right with a power of magnitude specified between 0 and 100

  Returns

This command does not return a value.

  Description

The command will force the device right with a power of magnitude specified between 0 and 100. The magnitude should be an integer value.

  Example Code
rem Prepare Force Feedback (if available)
ForcePresent=0
empty checklist
PERFORM CHECKLIST FOR CONTROL DEVICES
for c=1 to checklist quantity()
if checklist value a(c)=1
SET CONTROL DEVICE checklist string$(c)
ForcePresent=1
endif
next c
rem Test loop
do
rem Produce random values
MagnitudeValue=rnd(100)
if ForcePresent=1
FORCE RIGHT MagnitudeValue
wait 1000*8
FORCE NO EFFECT
endif
loop
end
  See also

INPUT Commands Menu
Index